/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.sevenpriciples.isp.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.sevenpriciples.isp.isp.compliance.impl.DetailsImpl;
import za.ac.cput.sevenpriciples.isp.isp.violation.impl.AnnualSalaryImpl;
import za.ac.cput.sevenpriciples.isp.isp.violation.impl.WorkerImpl;

/**
 *
 * @author 210227257
 */
@Configurable
public class AppConfig {
    @Bean(name = "worker")
    public WorkerImpl worker(){
        return new WorkerImpl();
    }
    
    @Bean(name = "annual")
    public AnnualSalaryImpl annual(){
        return new AnnualSalaryImpl();
    }
    
    @Bean(name = "details")
    public DetailsImpl details(){
        return new DetailsImpl();
    }    
}
